﻿/* Reset
-------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
{
	padding: 0;
	margin: 0;
}
ul, ol
{
	list-style: none;
}
img
{
	border: none;
}



/* Body
-------------------------------------------------------------------*/
html, body
{
	height: 100%;
}
body
{
	font: 12px/18px Tahoma, Arial, Helvetica, sans-serif;
	color: #333;
	background: #f7f8f9;
}

h1, h2, h3, h4, h5, h6
{
	font: normal 18px Verdana;
	color: #333;
}
h1
{
	font-size: 22px;
	line-height: 26px;
	margin-bottom: 10px;
}
h2
{
	font-size: 20px;
	line-height: 24px;
	margin-bottom: 7px;
}
h3
{
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
}
h4
{
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
}
h5
{
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
}
h6
{
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
}

a
{
	color: #70aae0;
}
a:hover
{
	text-decoration: none;
}

h1 span
{
	color: #ccc;
}


/* Header
-------------------------------------------------------------------*/
#header
{
	height: 80px;
	/*height: 10%;*/
	clear: both;
	overflow: hidden;
	background: #000;
	border-radius: 0 0 10px 10px;
	-moz-border-radius: 0 0 10px 10px;
}

#header h1
{
	float: left;
	padding-top: 25px;
	padding-left: 25px;
}
#header h1 a
{
	color: #fff;
	text-decoration: none;
	font: normal 28px Arial, Sans-Serif;
}

/* Main Navigation */
#header .nav-main
{
	overflow: hidden;
	float: left;
	padding-top: 31px;
	padding-left: 40px;
}
#header .nav-main li
{
	float: left;
	font-size: 15px;
	margin-right: 15px;
}
#header .nav-main li a
{
	color: #bebebe;
}
#header .nav-main li.active
{
	position: relative;
	top: -5px;
}
#header .nav-main li.active a
{
	color: #fff;
	font-size: 24px;
	line-height: 24px;
	text-decoration: none;
}

/* Profile */
#header .profile
{
	float: right;
	font-size: 11px;
	padding-top: 15px;
	padding-right: 23px;
	color: #ddd;
}

#header .profile img.avatar
{
	height: 48px;
	float: right;
	padding-left: 15px;
}

#header .profile.user
{
	text-align: right;
	padding-top: 27px;
	color: #ddd;
}
#header .profile.user a
{
	color: #afafaf;
	text-decoration: underline;
}
#header .profile.user a.openprofile
{
	font-size: 18px;
}

#header .profile.guest
{
	width: 280px;
	text-align: left;
	padding-top: 27px;
	padding-right: 0;
	color: #ddd;
}
#header .profile.guest a
{
	font-size: 18px;
	color: #fafafa;
	outline: none;
	line-height: 20px;
}
#header .profile.guest a.reg
{
	font-size: 12px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
	width: 87%;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}

#main
{
	padding: 5px 10px 100px 10px;
}

#wrapper 
{
	min-height: 100%;
	height:auto !important;
	height:100%;
	/*  ^--- Ключевой момент */
	/* Хак для IE 6, реализующий min-height */
}

#header, #footer 
{
	position: relative;
}
	
#content
{
	background-color: #fff;
	_height: 1px; /* only IE6 applies CSS properties starting with an underscore */
	float: left;
	margin-bottom: 30px;
	margin-left: -290px;
	width: 100%;
}

#cont
{
	margin-left: 470px;
}

#sidebar
{
	float: right;
	background-color: #fff;
	width: 250px;
	padding: 15px 0px 15px 0px;
}

#leftbar
{
	float: left;
	margin-left: 290px;
	width: 140px;
}

/* FOOTER */
#footer
{
	height: 60px;
	margin:-60px 0 0;
	/*height: 10%;*/
	clear: both;
	overflow: hidden;
	background: #333;
	border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
}
#footer .copyright
{
	float: right;
	padding: 10px 20px 0 0;
	font-size: 18px;
	color: #999;
	outline: none;
	line-height: 20px;
}

#footer .footer-counter
{
	padding: 10px;
	float: left;
}

/* TAB MENU   
----------------------------------------------------------*/
#secondLevelMenu
{
	background: #e9eaea;
	overflow: hidden;
	border-radius: 10px;
	-moz-border-radius: 10px;
	margin: -5px -5px 10px -5px;
}

.menu
{
	display: block;
	float: left;
	font-size: 15px;
	/*padding: 10px 0 0 37px;*/
}
.menu li
{
	float: left;
	color: #51b038;
	padding: 5px 10px 8px 10px;
}
.menu li a
{
	text-decoration: none;
	color: #838383;
}
.menu li a:hover
{
	color: #333;
}
.menu li.active
{
	position: relative;
}
.menu li.active a
{
	color: #000;
}


/* Story */
#storyList
{
	background: #fff;
	float: none;
	/*clear: left;*/
	padding-top: 0px;
	padding-bottom: 0px;
}

.story
{
	padding-left: 0px;
	font-size: 13px;
	overflow: hidden;
	position: relative;
	margin-bottom: 30px;
}
.story h1.title
{
	margin-bottom: 5px;
}
.story .content
{
	clear: both;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 15px;
	font-family: Verdana, sans-serif;
}
.story .content img
{
	margin: 0px 10px 5px 0px;
}
.story .content p
{
	margin-bottom: 15px;
	text-align: justify;
}

.story .content ul, ol
{
	margin-bottom: 15px;
	margin-left: 20px;
}
.story .content ul li
{
	list-style: disc;
}
.story .content ol li
{
	list-style: decimal;
}
.story .content dl
{
	margin-bottom: 15px;
}
.story .content dl dt
{
	font-weight: bold;
}
.story .content dl dd
{
	font-style: italic;
	margin: 0 0 5px 20px;
	color: #555;
}

.story .content blockquote
{
	font-style: italic;
	padding: 5px 10px;
	background: #f8f8f8;
}

.story .content img.subjectImage
{
	clear: left;
	float: left;
}

.story img.avatar
{
	clear: left;
	float: left;
	height: 48px;
	padding-right: 5px;
}
.story .creationTime
{
	font-style: italic;
	padding-left: 20px;
}
.story .author
{
	padding-left: 20px;
}
.story .adminactions
{	
	float: right;
	padding-right: 20px;
	font-size: 12px;
}

/* offers */
.offer-details-list-item
{
	margin-bottom: 40px;
}

/* comments */
.comments
{
	padding-left: 25px;
	padding-top: 10px;
}
.comments .comment
{
	overflow: hidden;
	position: relative;
	margin-bottom: 15px;
}

.comments .comment .comment-admin-actions
{
	float: right;
	padding-right: 20px;
	font-size: 12px;
}

.comments .comment .content
{
	background: #f0f0f0;
	width: 100%;
	margin-bottom: 0;
}
.comments .comment .header
{
	font-size: 12px;
}
.comments .comment .content .text
{
	border-left: 1px solid #dddede;
	border-right: 1px solid #dddede;
	padding: 5px 25px 5px 10px;
	overflow: hidden;
	zoom: 1;
}
.comments .comment .content img.avatar
{
	float: left;
	height: 48px;
	padding-right: 0px;
}
.comments .comment a.reply
{
	padding: 0 50px 10px 10px;
}

.comments .comment-login-hint
{
	font-size: small;
	font-style: italic;
}

.text-area
{
	width: 100%;
	height: 100%;
}

/* paging */
.pages
{
	font: normal 36px Arial, Sans-Serif;
}
.pages span.active
{
	color: black;
	font-size: 48px;
	line-height: 52px;
}

/* Links */
#links
{
	font-size: 36px;
	line-height: 36px;
	font-weight: bold;
	position: fixed;
	right: 0;
	top: 80%;
	text-align: right;
	border-right: 10px solid #cfcfcf;
	width: 150px;
}

#links a
{
	text-decoration: none;
	color: #afafaf;
}

#links a:hover
{
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
	padding-right: 10px;
	border: 0px solid #CCC;
}

/*
fieldset p
{
	margin: 2px 12px 10px 10px;
}
*/

legend
{
	font-size: 1.1em;
	font-weight: 600;
	padding: 2px 4px 8px 4px;
}

label
{
	font-size: large;
	color: #363636;
}

label.error
{
	font-size: 13px;
}

input[type="text"]
{
	width: 400px;
	border: 1px solid #CCC;
	font-size: large;
	color: black;
	background: white;
}

input[type="file"]
{
	width: 400px;
	font-size: large;
	color: black;
	background: white;
}

input[type="submit"]
{
	font-size: large;
}

input[type="password"]
{
	width: 400px;
	border: 1px solid #CCC;
	font-size: large;
	color: #999;
	background: white;
}

/* TABLE
----------------------------------------------------------*/
/*
table
{
	border: solid 1px #e8eef4;
	border-collapse: collapse;
}

table td
{
	padding: 5px;
	border: solid 1px #e8eef4;
}

table th
{
	padding: 6px 5px;
	text-align: left;
	background-color: #e8eef4;
	border: solid 1px #e8eef4;
}
*/
/* --------------------------------- */
/*MESSAGE BOXES						 */
/* --------------------------------- */

/* Message Box container*/
#msgBoxContainer
{
	margin: 0 auto;
	width: 200px;
	position: fixed;
	right: 25%;
	top: 0%;
	z-index: 500;
}

/* Close message box button */
#closeMsgBox
{
	cursor: pointer;
	vertical-align: text-top;
}

/* --------------------------------- */
/*MESSAGE BOX CLEAN	serie	  		 */
.clean-gray
{
	border: solid 1px #DEDEDE;
	background: #EFEFEF;
	color: #222222;
	padding: 4px;
	text-align: center;
}
.clean-yellow
{
	border: solid 1px #DEDEDE;
	background: #FFFFCC;
	color: #222222;
	padding: 4px;
	text-align: center;
}
.clean-ok
{
	border: solid 1px #349534;
	background: #C9FFCA;
	color: #008000;
	font-weight: bold;
	padding: 4px;
	text-align: center;
}
.clean-error
{
	border: solid 1px #CC0000;
	background: #F7CBCA;
	color: #CC0000;
	font-weight: bold;
	padding: 4px;
	text-align: center;
}

/* Tags 
----------------------------------------------------------*/
.storyTags
{
	padding: 5px 20px;
}

.tagCloud 
{
	text-align: center;
	margin-bottom: 20px;
	border: 1px solid;
	border-radius: 10px;
	-moz-border-radius: 10px;
	padding: 5px;
}

.tagCloud  a
{
	line-height: 1.4em;
}

.tagCloud ul, .tagCloud ul li
{
	display: inline;
}

.tag1{font-size: 0.8 em}
.tag2{font-size: 0.9em}
.tag3{font-size: 1em}
.tag4{font-size: 1.2em}
.tag5{font-size: 1.4em}
.tag6{font-size: 1.7em}
.tag7{font-size: 2.0em}
.tag8{font-size: 2.4em}

/* Rating  
----------------------------------------------------------*/
.storiesTop
{
	border: 1px solid;
	border-radius: 10px;
	-moz-border-radius: 10px;
	padding: 10px 5px 10px 5px;
}

.storiesTop h5
{
	text-align: center;
}

.storiesTop a
{
	font-size: 15px;
	line-height: 1.4em;
}

.storiesTop table td, .storiesTop table
{
	border: 0px none;
	/*padding: 0px 5px;*/
}

.storiesTop table td.position-col
{
	width: 15px;
}

.storiesTop .neg
{
	color: Red;
}

.storiesTop .pos
{
	color: Green;
}

/* ADV */
.advertise-area
{
	text-align: center;
	margin-bottom: 20px;
	border: 1px solid;
	border-radius: 10px;
	-moz-border-radius: 10px;
	padding: 5px;
	display: none;
}

/* MISC  
----------------------------------------------------------*/
.hidden
{
	display: none;
}


.clear
{
	clear: both;
}

.error
{
	color: Red;
}

.field-validation-error
{
	color: #ff0000;
}

.field-validation-valid
{
	display: none;
}

.input-validation-error
{
	border: 1px solid #ff0000;
	background-color: #ffeeee;
}

.validation-summary-errors
{
	font-weight: bold;
	color: #ff0000;
}

.validation-summary-valid
{
	display: none;
}

.display-label, .editor-label, .display-field, .editor-field
{
	margin: 0.5em 0;
}

.text-box
{
	width: 30em;
}

.text-box.multi-line
{
	height: 6.5em;
}

.tri-state
{
	width: 6em;
}

.sharestoryitem a
{
	text-decoration: none;
}